/**
 * chinagoods.com
 * Copyright (c) 2020-2024 All Rights Reserved.
 */
package com.ruoyi.system.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

/**
 * @author yangpeng
 * Created by on 2024-04-30 19:03
 */
@Data
public class BankAddDto extends AddDto {
    @ApiModelProperty(value = "银行名称")

    private String channelCode;
    @ApiModelProperty(value = "银行名称")

    private String channelName;
    @ApiModelProperty(value = "银行名称")
    //@NotBlank(message = "银行名称不能为空")
    private String bankName;
    @ApiModelProperty(value = "姓名")
    //@NotBlank(message = "姓名不能为空")
    private String name;
    @ApiModelProperty(value = "银行账号  微信收款码  支付宝收款码")
    @NotBlank(message = "账号不能为空")
    private String cardNo;
    @ApiModelProperty(value = "账号/手机号")
    private String username;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "用户id")
    private String zfbUserId;
    // @NotBlank(message = "zfb   bank")
    private String type;
    @ApiModelProperty(value = "支付宝用户Url")
    private String zfbUrl;

    @ApiModelProperty(value = "1 启用  0 禁用")
    private Integer status;
    @ApiModelProperty(value = "最大收款金额")
    private BigDecimal maxAmount;

    @ApiModelProperty(value = "谷歌验证码")
    @NotBlank(message = "谷歌验证码不能为空")
    private String code;

}